package com._520it.crm.mapper;

import com._520it.crm.domain.ClientExploitation;
import com._520it.crm.query.ClientExploitationQueryObject;
import com._520it.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ClientExploitationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClientExploitation record);

    ClientExploitation selectByPrimaryKey(Long id);

    List<ClientExploitation> selectAll();

    int updateByPrimaryKey(ClientExploitation record);

    Long queryPageCount(QueryObject qo);

    List<ClientExploitation> queryPageDataResult(ClientExploitationQueryObject qo);

    void executePlan(@Param("id") Long id, @Param("executetime") Date executetime, @Param("executeresult") String executeresult);
}